package com.funo.logic.support;

/**
 * @author fantasy
 * @date 2024-08-08 10:16
 */
public enum NodeDutyEnum implements EnumsValue{
    IF("if","分支"),
    FOR("for","循环"),
    CONTINUE("continue","跳过当前循环"),
    SAVE("save","保存"),
    QUERY("query","查询"),
    UPDATE("update","更新"),
    GET("get","单数据查询"),
    ;


    private final String code;
    private final String label;

    NodeDutyEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }
    @Override
    public Object getCode() {
        return code;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
